﻿namespace TestTool.Proxies.Onvif
{
    using System;
    using System.CodeDom.Compiler;
    using System.ComponentModel;
    using System.Diagnostics;
    using System.Xml;
    using System.Xml.Serialization;

    [Serializable, GeneratedCode("svcutil", "3.0.4506.2152"), DesignerCategory("code"), XmlType(Namespace="http://www.onvif.org/ver10/schema"), DebuggerStepThrough]
    public class NetworkHost
    {
        private XmlAttribute[] anyAttrField;
        private string dNSnameField;
        private NetworkHostExtension extensionField;
        private string iPv4AddressField;
        private string iPv6AddressField;
        private NetworkHostType typeField;

        [XmlAnyAttribute]
        public XmlAttribute[] AnyAttr
        {
            get
            {
                return this.anyAttrField;
            }
            set
            {
                this.anyAttrField = value;
            }
        }

        [XmlElement(DataType="token", Order=3)]
        public string DNSname
        {
            get
            {
                return this.dNSnameField;
            }
            set
            {
                this.dNSnameField = value;
            }
        }

        [XmlElement(Order=4)]
        public NetworkHostExtension Extension
        {
            get
            {
                return this.extensionField;
            }
            set
            {
                this.extensionField = value;
            }
        }

        [XmlElement(DataType="token", Order=1)]
        public string IPv4Address
        {
            get
            {
                return this.iPv4AddressField;
            }
            set
            {
                this.iPv4AddressField = value;
            }
        }

        [XmlElement(DataType="token", Order=2)]
        public string IPv6Address
        {
            get
            {
                return this.iPv6AddressField;
            }
            set
            {
                this.iPv6AddressField = value;
            }
        }

        [XmlElement(Order=0)]
        public NetworkHostType Type
        {
            get
            {
                return this.typeField;
            }
            set
            {
                this.typeField = value;
            }
        }
    }
}

